package com.wf.demo.info.util;

import lombok.Data;
import lombok.ToString;
import org.springframework.cache.annotation.CacheConfig;

/**
 * @Auther: wf
 * @Date: 2019/11/30 13:24
 * @Description:
 */
@Data
@ToString
public class StatisticalUtil {
    private long totalNum ;  //设备总数量
    private long  onlineNum; //在线设备数量
    private long   normalNum; //正常设备数量
    private  long  alarmNum ; //报警设备数量

    private  long  offlineNum ; //离线设备数量
    private  long   scrapNumber ;//报废设备数量
    private  long   notScrapAndOfflineNum; //离线但未报废设备数量
    public StatisticalUtil(){

    }
    private  StatisticalUtil(long totalNum,long onlineNum,long  normalNum,long  alarmNum,long  offlineNum,long   scrapNumber,long notScrapAndOfflineNum){
        this.totalNum=totalNum;
        this.onlineNum=onlineNum;
        this.normalNum=normalNum;
        this.alarmNum=alarmNum;
        this.offlineNum=offlineNum;
        this.scrapNumber=scrapNumber;
        this.notScrapAndOfflineNum=notScrapAndOfflineNum;
    }

}
